#ifndef QTANIMATIONEFFECT_H
#define QTANIMATIONEFFECT_H

#include <QObject>

class QtAnimationEffect: public QObject
{
	Q_OBJECT

public:
	QtAnimationEffect();
	virtual ~QtAnimationEffect();

	virtual void SetDuration(unsigned int newDuration) = 0;
	virtual void Start() = 0;
	virtual QtAnimationEffect* Clone() const = 0;

protected slots:
	void EmitFinished();
	void EmitStarted();
signals:
	void Finished(QtAnimationEffect* effect);
	void Started(QtAnimationEffect* effect);
};

#endif //QTANIMATIONEFFECT_H
